<cfsilent>
	<cfset initSite = false />
	<cfset clearSession = false />
	<cfif structKeyExists(url,"init") or not structKeyExists(application,"core")>
		<cfset initSite = true />
	</cfif>
	<cfif structKeyExists(url,"quit") or not structKeyExists(application,"core")>
		<cfset clearSession = true />
	</cfif>
	
	<!--- launch site --->
	<cfif initSite>
		<cfset structDelete(application,"core") />
		<cfset application.core = createObject('component','cfcs.core') />
		<cfset application.core.initSite(initSite) />
	</cfif>
	<cfif clearSession>
		<cfset structClear(session) />
	</cfif>
</cfsilent>

<cfoutput>
	#application.core.includeScripts()#
	<head>
		<title>Fundr: Fundraising for the rest of us</title>
	</head>
	<div id="validationMessages" style="display:none;"></div>
	<div id="systemMessages" style="display:none;"></div>
	
	#application.v.topbarView.renderTopBar()#
	
	#application.v.fundView.renderBody()#
	
	<div class="attribution" xmlns:cc="http://creativecommons.org/ns##" xmlns:dct="http://purl.org/dc/terms/" about="http://www.wpzoom.com/wpzoom/new-freebie-wpzoom-developer-icon-set-154-free-icons/"><span property="dct:title">WPZOOM Developer Icon Set</span> (<a rel="cc:attributionURL" property="cc:attributionName" href="http://www.wpzoom.com">WPZOOM</a>) / <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a></div>
</cfoutput>